package com.lottery.game.core.modules.service.app.v2;

import com.github.pagehelper.PageInfo;
import com.lottery.game.common.base.service.BaseService;
import com.lottery.game.core.modules.entity.app.BetRecordVO;
import com.lottery.game.core.modules.entity.game.GameAnnouncement;

import java.util.Date;
import java.util.Map;


/**
 * @Description TODO
 * @Classname BetRecordService
 * @Date 2019/4/24 14:44
 * @Author liusc <liushicheng1993@vip.qq.com>
 * @Version 1.0
 */
public interface BetRecordService extends BaseService<GameAnnouncement> {

    /**
     * @Description 查询交易记录
     * @param: param
     * @Return
     * @Date 2019/4/24_15:24
     * @param id
     * @param rows
     * @param page
     * @param endDate
     * @param startDate
     */
    PageInfo<BetRecordVO> findRecodeList(String id, Integer rows, Integer page, String endDate, String startDate, String betType, String recordStatus);
    /**
     * @Description 投注记录统计
     * @param:
     * @Return
     * @Date 2019/5/13_9:07
     */
    Map<String ,Object> getBetSum(String id, String startDate, String endDate);
    /**
     * @Description 根据类型和ID查询详细信息
     * @param:
     * @Return
     * @Date 2019/5/15_10:17
     */
    Object getPageInfo(String type, String gameBetsId);
}
